package com.gofruit.bean;

import java.util.Date;

/**
 * 
 * @author 陈瑶
 * @see 优惠活动实体。
 *
 */
public class Promotion {
	
	private int promotionId;//活动编号
	private int shopId;//店铺编号
	private String shopName;//店铺名
	private int productId;//产品编号
	private String productName;//产品名
	private Double promotionPrice;//产品优惠价格
	private Date promotionBegTime;//活动开始时间
	private Date promotionEndTime;//活动截止实际那
	private String promotionDetail;//活动描述。如果开学季。毕业季
	private Date promotionTime;//活动创建时间
	private int isEnd;//活动是否结束
	public int getPromotionId() {
		return promotionId;
	}
	public void setPromotionId(int promotionId) {
		this.promotionId = promotionId;
	}
	public int getShopId() {
		return shopId;
	}
	public void setShopId(int shopId) {
		this.shopId = shopId;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Double getProductRealPrice() {
		return promotionPrice;
	}
	public void setProductRealPrice(Double promotionPrice) {
		this.promotionPrice = promotionPrice;
	}
	public Date getPromotionBegTime() {
		return promotionBegTime;
	}
	public void setPromotionBegTime(Date promotionBegTime) {
		this.promotionBegTime = promotionBegTime;
	}
	public Date getPromotionEndTime() {
		return promotionEndTime;
	}
	public void setPromotionEndTime(Date promotionEndTime) {
		this.promotionEndTime = promotionEndTime;
	}
	public String getpromotionDetail() {
		return promotionDetail;
	}
	public void setpromotionDetail(String promotionDetail) {
		this.promotionDetail = promotionDetail;
	}
	public Date getPromotionTime() {
		return promotionTime;
	}
	public void setPromotionTime(Date promotionTime) {
		this.promotionTime = promotionTime;
	}
	public int getIsEnd() {
		return isEnd;
	}
	public void setIsEnd(int isEnd) {
		this.isEnd = isEnd;
	}
	public Promotion(int promotionId, int shopId, String shopName,
			int productId, String productName, Double promotionPrice,
			Date promotionBegTime, Date promotionEndTime,
			String promotionDetail, Date promotionTime, int isEnd) {
		super();
		this.promotionId = promotionId;
		this.shopId = shopId;
		this.shopName = shopName;
		this.productId = productId;
		this.productName = productName;
		this.promotionPrice = promotionPrice;
		this.promotionBegTime = promotionBegTime;
		this.promotionEndTime = promotionEndTime;
		this.promotionDetail = promotionDetail;
		this.promotionTime = promotionTime;
		this.isEnd = isEnd;
	}
	public Promotion() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
}
